<script setup>
import { defineOptions, defineModel } from 'vue'
defineOptions({
  name: 'MyInput',
})
const modelValue = defineModel()
</script>
<template>
  <input type="text"
         :value="modelValue"
         @input="$emit('update:modelValue', $event.target.value)"
  />
</template>
